package com.mxpio.erp.common.inventory.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.mxpioframework.jpa.annotation.Generator;
import com.mxpioframework.security.entity.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "MB_ERP_INV_LOT_PROP_CONFIG")
@Schema(description="批属性配置")
public class LotPropConfig extends BaseEntity {

	private static final long serialVersionUID = 1L;
	
	@Id
	@Generator
	@Column(name = "ID_", updatable = false)
	@Schema(description = "ID")
	private String id;
	
	@Column(name = "PROP_NAME_")
	@Schema(description = "属性名称")
	private String propName;
	
	@Column(name = "PROP_TYPE_")
	@Schema(description = "属性类型")
	private String propType;
	
	@Column(name = "PROP_CLASS_")
	@Schema(description = "来源类")
	private String propClass;
	
	@Column(name = "PROP_FIELD_")
	@Schema(description = "来源字段")
	private String propField;
	
	@Column(name = "PROP_FIELD_TYPE_")
	@Schema(description = "字段类型")
	private String propFieldType;
	
}
